package com.maila.xiaoaoschool.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by mark on 2017/12/15.
 */

public class AddressData {

    /**
     * result : 1
     * message : 提交成功
     * data : [{"id":"5","address":"山东信息职业技术学院 阿斯顿撒多","name":"xukai","default":"0","phone":"15684331088","scope":0},{"id":"3","address":"潍坊银行(商品城支行)6666666666","name":"徐凯","default":"1","phone":"15684331088","scope":0}]
     */

    private int result;
    private String message;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 5
         * address : 山东信息职业技术学院 阿斯顿撒多
         * name : xukai
         * default : 0
         * phone : 15684331088
         * scope : 0
         */

        private String id;
        private String address;
        private String name;
        @SerializedName("default")
        private int defaultX;
        private String phone;
        private int scope;

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getDefaultX() {
            return defaultX;
        }

        public void setDefaultX(int defaultX) {
            this.defaultX = defaultX;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public int getScope() {
            return scope;
        }

        public void setScope(int scope) {
            this.scope = scope;
        }
    }
}
